<#include "/admin/public.html">
<style type="text/css">
.layui-form-checkbox[lay-skin=primary] {
   height: 30px !important;
   line-height: 28px!important;
}
#uploadfile .filename{
	display:inline-block;
	width:180px;
}
</style>
<div class="uk-layui-form">
    <form class="layui-form uk-form" action="/admin/alipayConfig/<#if alipayData.id!=''>update.html<#else>save.html</#if>"  method="post">
		<input type="hidden" name="id" id="id" value="${alipayData.id}">
        
        <div class="layui-form-item">
            <label class="layui-form-label">支付宝网关</label>
            <div class="layui-input-inline">
                <input type="text" name="url"  lay-verify="required" id="url" class="layui-input" placeholder="请输入支付宝网关" value="${alipayData.url!''}">
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label">APPID</label>
            <div class="layui-input-inline">
                <input type="text" name="appid"  lay-verify="required" id="appid" class="layui-input" placeholder="请输入APPID" value="${alipayData.appid!''}">
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label">私钥</label>
            <div class="layui-input-inline">
                <input type="text" name="appPrivateKey"  lay-verify="required" id="appPrivateKey" class="layui-input" placeholder="请输入私钥" value="${alipayData.appPrivateKey!''}">
            </div>
        </div>
        
          <div class="layui-form-item">
            <label class="layui-form-label">密钥</label>
            <div class="layui-input-inline">
                <input type="text" name="alipayPublicKey"  lay-verify="required" id="alipayPublicKey" class="layui-input" placeholder="请输入密钥" value="${alipayData.alipayPublicKey!''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">参数格式</label>
            <div class="layui-input-inline">
                <input type="text" name="format"  lay-verify="required" id="format" class="layui-input" placeholder="请输入参数格式" value="${alipayData.format!''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">编码集</label>
            <div class="layui-input-inline">
                <input type="text" name="chatset"  lay-verify="required" id="chatset" class="layui-input" placeholder="请输入编码集" value="${alipayData.chatset!''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">签名类型</label>
            <div class="layui-input-inline">
                <input type="text" name="signType"  lay-verify="required" id="signType" class="layui-input" placeholder="请输入签名类型" value="${alipayData.signType!''}">
            </div>
        </div>
         <div class="layui-form-item">
            <label class="layui-form-label">服务器跳转页面</label>
            <div class="layui-input-inline">
                <input type="text" name="notifyUrl"  lay-verify="required" id="notifyUrl" class="layui-input" placeholder="服务器跳转页面" value="${alipayData.notifyUrl!''}">
            </div>
        </div>
         <div class="layui-form-item">
            <label class="layui-form-label">同步通知页面</label>
            <div class="layui-input-inline">
                <input type="text" name="returnUrl"  lay-verify="required" id="returnUrl" class="layui-input" placeholder="请输入同步通知页面" value="${alipayData.returnUrl!''}">
            </div>
        </div>
        <div class="layui-form-button">
            <div class="layui-button-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
<script>
var url = "/uploadmicrocasetwo", layedit,microcaseenclosureList = [],urlImg = "/uploadmicrocase";

layui.use(['form','laydate','layedit'], function() {
    var form = layui.form();
    var laydate = layui.laydate;
  
  
   //提交
   form.on('submit(formDemo)', function(data){
	 	
   }); 
    
});


</script>